<%--
 *  File:    ProdEditDesc.jsp
 *  @Author: Langerwang 
 *  Date:    2001/01/14
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/oval-tag.tld" prefix="oval" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<%
  //init param
  Category cat = Category.getInstance("jsp.ProdEditDesc");  
  String privilegeCode = "10203,L203";
  String strModuleName = "PCM";
%>

<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>

<html>
<head>
<title>ProdEditDesc</title>
<PageFlow:CheckPageFlow pageName="prodeditdesc"/>
<%@ include file="/inc/InitEdit.inc" %>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="../../js/FuncLib.js"></script>
<script language="JavaScript" src="../../js/ScriptLib.js"></script>
<%
  Integer oProductLangId=null;
  String strProdPD=null;
  if(pageContext.getAttribute("productinfo")!=null)
  {
    oProductLangId=(Integer)((HashMap)pageContext.getAttribute("productinfo")).get("productlangid");
    strProdPD=(String)((HashMap)pageContext.getAttribute("productinfo")).get("primarydesc");
  }
          
%>
<script language="JavaScript">

function page_back()
{
  parent.up.page_goback();
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border=0 cellpadding=0 cellspacing=0 width="100%">
  <tr> 
    <td valign=top>
      <table border=0 cellpadding=1 cellspacing=0 width="100%">
       <tbody> 
    <tr> 
          <td bgcolor=#000000 style="PADDING-BOTTOM: 1px; PADDING-LEFT: 1px; PADDING-RIGHT: 1px; PADDING-TOP: 0px"> 
            <table bgcolor=#000000 border=0 cellpadding=0 cellspacing=0 width="100%">
              <tr> 
                <td  bgcolor=#ffffff style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px"> 
                  <div id=div1 style="HEIGHT: 450px; OVERFLOW: auto" >
          
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="1">
          <tr> 
            <td colspan="2" class="deepblue-left"><img src="../../images/<%= strLanguageCode %>/quote.gif"> 
              <%= label.getLabelName("L_Description") %>:</td>
          </tr>
          <tr> 
            <td class="td-text" width="200"><%= label.getLabelName("L_PrimaryDesc") + label.getLabelName("L_Colon") %></td>
            <td> 
              <custom:write name="productinfo" property="primarydesc" nbsp="true"/>           
            </td>
          </tr>
         <tr> 
            <td class="td-text"><%= label.getLabelName("L_SummaryDesc") + label.getLabelName("L_Colon") %></td>
            <td colspan="3" > 
              <custom:textarea name="productinfo" property="summarydesc" cols="60" rows="2"  module="PCM" label="L_SummaryDesc" needMLC="true"  multiLangType="prdsd"  colIndex="0" readonly="true"/>
            </td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_DetailDesc") + label.getLabelName("L_Colon") %></td>
            <td> 
              <custom:textarea name="productinfo" property="detaildesc" cols="60" rows="3"  module="PCM" label="L_DetalDesc" needMLC="true"  multiLangType="prddd"  colIndex="0" readonly="true"/>
            </td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_WarrantyDesc") + label.getLabelName("L_Colon") %></td>
            <td>
              <custom:write name="productinfo" property="warrantydesc" nbsp="true"/>
            </td>
          </tr>
         <tr> 
            <td class="td-text"><%= label.getLabelName("L_AuthPrerequirement") + label.getLabelName("L_Colon") %></td>
            <td>
              <custom:write name="productinfo" property="authprerequirement" nbsp="true"/>
            </td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_SpecialHandleInstr") + label.getLabelName("L_Colon") %></td>
            <td> 
              <custom:write name="productinfo" property="specialhandleinstr" nbsp="true"/>
            </td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_AvailableCountry") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write name="productinfo" property="availablecountry" nbsp="true"/>     
           </td>
          </tr>
        </table>
        </div> 
      </td>
    </tr>  
   </table>     
  </td>
 </tr>
   </tbody>
</table>
    </td>
    </tr>
    <tr> 
      <td class="summary_top"></td>
    </tr>
    <tr> 
      <td class="td_center"><a onclick="page_back()"><custom:button type="1" label="L_Back" imgsrc="back.gif" border="0" style="width:60"/></a></td>
    </tr>	
</table>
</body>
</html>


